<table class="detail-entity">

  <%= render :partial => 'layouts/sortable_header', :locals => {:info => @header_info, :method_path => users_path} %>

  <% users.each do |user| %>
      <tr>
        <td><%= user.name %></td>
        <td><%= user.email %></td>
        <td><%= I18n.localize(user.birth) %></td>
        <td><%= link_to 'Show', user %></td>
        <td><%= link_to 'Edit', edit_user_path(user) %></td>
        <td><%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' }, :class => "deleting" %></td>
      </tr>
  <% end %>
</table>